/*
 * Created by IntelliJ IDEA.
 * User: Волков Олег
 * Date: 06.06.14
 * Time: 17:07
 */
package guice;

import com.google.inject.AbstractModule;
import com.google.inject.Singleton;
import beans.GoodsBean;
import beans.UploadBean;
import beans.UserAutorisationBean;
import excel.ExcelIteraction;

public class Module extends AbstractModule {
    @Override
    protected void configure() {
        bind(guice.IExcelIteraction.class).to(ExcelIteraction.class).in(Singleton.class);
        bind(GoodsBean.class).in(Singleton.class);
        bind(UserAutorisationBean.class).in(Singleton.class);
        bind(UploadBean.class).in(Singleton.class);
    }
}
